package chapter3.No3_4_类InheritableThreadLocal的使用.demo3;

/**
 * 实战：ThreadLocal的用法
 * Created by Administrator on 2016/11/20.
 */
public class Main {
    public static void main(String[] args) {
        ServiceClass sc = new ServiceClass();
        ThreadA a = new ThreadA(sc);
        a.setName("a");
        ThreadB b = new ThreadB(sc);
        b.setName("b");

        a.start();
        b.start();
    }
}
